package cn.bgs.service;

import cn.bgs.pojo.VisitorsRecord;
import cn.bgs.vo.CellIntermediate;
import cn.bgs.vo.VisitorsrecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 访客记录表 服务类
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
public interface IVisitorsRecordService extends IService<VisitorsRecord> {

    /**
     * 添加访客信息
     * @param cellIntermediate
     * @return
     */
    int insertvisitorsrecord(CellIntermediate cellIntermediate);

    /**
     * 访客信息
     * @param id
     * @return
     */
    List<VisitorsrecordVo> getVisitorsList(Integer id, String stratTime, String endTime);

    List<VisitorsRecord> findAll(Integer id, String zhuangtai, String name);

    List<VisitorsRecord> findById(Integer id);
}
